package org.linlinjava.litemall.db.dao;

import java.util.List;

import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LitemallOrder;
import org.linlinjava.litemall.db.domain.LumierePointExchange;
import org.linlinjava.litemall.db.domain.LumierePointExchangeExample;

public interface LumierePointExchangeMapper extends MPJBaseMapper<LumierePointExchange> {
    long countByExample(LumierePointExchangeExample example);

    int deleteByExample(LumierePointExchangeExample example);

    int deleteByPrimaryKey(Integer id);


    int insertSelective(LumierePointExchange record);

    LumierePointExchange selectOneByExample(LumierePointExchangeExample example);

    LumierePointExchange selectOneByExampleSelective(@Param("example") LumierePointExchangeExample example, @Param("selective") LumierePointExchange.Column ... selective);

    List<LumierePointExchange> selectByExampleSelective(@Param("example") LumierePointExchangeExample example, @Param("selective") LumierePointExchange.Column ... selective);

    List<LumierePointExchange> selectByExample(LumierePointExchangeExample example);

    LumierePointExchange selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LumierePointExchange.Column ... selective);

    LumierePointExchange selectByPrimaryKey(Integer id);

    LumierePointExchange selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") LumierePointExchange record, @Param("example") LumierePointExchangeExample example);

    int updateByExample(@Param("record") LumierePointExchange record, @Param("example") LumierePointExchangeExample example);

    int updateByPrimaryKeySelective(LumierePointExchange record);

    int updateByPrimaryKey(LumierePointExchange record);

    int logicalDeleteByExample(@Param("example") LumierePointExchangeExample example);

    int logicalDeleteByPrimaryKey(Integer id);
}